package com.chunuo.order.feign;

import com.chunuo.commonutils.ordervo.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 类的作用
 *
 * @author liujiamiao
 * @email 2544296058@qq.com
 * @date 2020-07-27 22:05
 */
@Component
@FeignClient(value = "service-user")
public interface UcenterMemberOpenFeign {

    @GetMapping("/userservice/ucenter-member/getInfo/{userId}")
    public UcenterMemberOrder getInfo(@PathVariable("userId") String userId);
}
